package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbOperatorMapper;
import com.dongdongshop.pojo.TbOperator;
import com.dongdongshop.service.LoginService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@DubboService
public class LoginServiceImpl implements LoginService {

    @Autowired
    private TbOperatorMapper tbOperatorMapper;

    @Override
    public TbOperator selectByOname(String username) {
        return tbOperatorMapper.selectByOname(username);
    }
}
